-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LOPS-1661] Fix long tests #2496
Conversation
@@ -296,6 +296,7 @@ private function addBuiltInCommandsAndHooks() | |||
{ | |||
// List of all hooks and commands. Update via 'composer update-class-lists' | |||
$this->commands = [ | |||
'Consolidation\\Filter\\Hooks\\FilterHooks', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this do?
(i could try reading documentation but it's easier to just ask you)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--filter
to Terminus commands. It was removed by mistake in a previous PR and all of the commands tests that use that argument are failing now
if (!empty($options['from_url']) && !empty($options['to_url'])) { | ||
$params['wp_replace_siteurl']['from_url'] = $options['from_url']; | ||
$params['wp_replace_siteurl']['to_url'] = $options['to_url']; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, was it something about WP search-replace that was causing the long tests to fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was one of the failing tests, probably broken since it was created and never noticed.
There were other failing tests also fixed in this PR
Tests are passing now: https://github.com/pantheon-systems/terminus/actions/runs/6163052957